package com.baidu.mpks.user.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class UserRegist {

    private String userId;
    @NotBlank(
            message = "{password.empty}"
    )
    @Length(
            min = 6
    )
    private String password;
}
